package com.ccc.boot.generator.mapper;

import com.ccc.boot.generator.dto.ColumnDTO;
import com.ccc.boot.generator.dto.TableDTO;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 *
 *
 * @author superC
 * @date 2022/3/29
 * @version 0.1.0
 */

@Repository
public interface TableMapper {

    List<TableDTO> queryList(Map<String, Object> map);

    int queryTotal(Map<String, Object> map);

    TableDTO queryTable(String tableName);

    List<ColumnDTO> queryColumns(String tableName);
}
